/*    */ package nc.ui.mmpps.plo.action.busi;
/*    */ 
/*    */ import java.awt.event.ActionEvent;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import nc.bs.framework.common.NCLocator;
import nc.itf.mmpps.plo.IPloSimpleBusiService;
import nc.ui.mmf.framework.action.ActionInitializer;
/*    */ import nc.ui.mmf.framework.batch.BatchProcessAction;
/*    */ import nc.ui.mmpps.plo.action.PLOActionRegistry;
/*    */ import nc.ui.mmpps.plo.action.util.PoActionsUtil;
/*    */ import nc.ui.uif2.actions.ActionInfo;
/*    */ import nc.vo.mmpps.mpm.res.MpmRes;
import nc.vo.mmpps.mps0202.AggregatedPoVO;
/*    */ import nc.vo.mmpps.mps0202.BillstatusEnum;
import nc.vo.mmpps.mps0202.PoVO;
import nc.vo.pubapp.pattern.exception.ExceptionUtils;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class PloCancelConfirmAction
/*    */   extends BatchProcessAction
/*    */ {
/*    */   private static final long serialVersionUID = 8121698402845746732L;
/*    */   
/*    */   public PloCancelConfirmAction()
/*    */   {
/* 26 */     ActionInfo info = PLOActionRegistry.getActionInfo("PloCancelConfirmAction");
/* 27 */     ActionInitializer.initializeAction(this, info.getCode(), info.getName(), info.getShort_description(), info.getKeyStroke());
/*    */     
/* 29 */     putValue("PloCancelConfirmAction", MpmRes.BTN_CCONFIRM());
/*    */   }
/*    */   
/*    */ 
/*    */   protected boolean isActionEnable()
/*    */   {
/* 35 */     if (!super.isActionEnable()) {
/* 36 */       return false;
/*    */     }
/* 38 */     Object[] objs = getBatchProcessor().getModel().getSelectedOperaDatas();
/*    */     
/* 40 */     return PoActionsUtil.isActionEnable(objs, BillstatusEnum.CONFIRMED.intValue(), getBatchProcessor().getModel());
/*    */   }
		
			@Override
			public void doAction(ActionEvent e) throws Exception {
				super.doAction(e);
		
			}
/*    */ }

